Test method for testing a data memory

ABSTRACT

Test method for testing a data store having an integrated test data compression circuit ( 16 ), where the data store ( 1 ) has a memory cell array ( 10 ) with a multiplicity of addressable memory cells, read/write amplifiers ( 12 ) for reading and writing data to the memory cell via an internal data bus ( 12 ) in the data store ( 1 ), and a test data compression circuit ( 16 ) which compresses test data sequences, which are each read serially from the memory cell array ( 10 ), with stored reference test data sequences in order to produce a respective indicator data item which indicates whether at least one data error has occurred in the test data sequence which has been read.

[0001] The invention relates to a test method for testing a data store and to a data store having an integrated test data compression circuit for inexpensively testing fast semiconductor memories, particularly DRAM stores, and SRAM stores working at very high operating clock frequencies.

[0002]FIG. 1 shows a test arrangement based on the prior art. A circuit to be tested DUT (device under test) is connected to an external test unit via a control bus, a data bus and an address bus. The external test unit uses a test data generator to produce test data which are applied via data bus lines in a data bus to the memory which is to be tested DUT. The address bus is used to address the memory cells which are to be tested within the memory which is to be tested. In this case, the test data are written to the address memory cells via the data bus and are subsequently read again. The external test unit compares the written test data with the data which have been read and recognizes from the discrepancies or data errors whether the addressed memory cells within the memory are functional.

[0003]FIG. 2 shows flow diagrams for the prior art test arrangement shown in FIG. 1. The test unit transmits the test data via a data line at a high clock frequency and subsequently reads them from the data store again. On each data line in the data bus, the test unit receives a test data sequence, which comprises four test data in the example shown in FIG. 2. Such a test data sequence is also referred to as a data burst. The test unit produces an internal strobe signal, with each strobe signal involving a received test data item being compared with a stored reference data item within the test unit, so that data discrepancies can be ascertained. These data discrepancies indicate that the addressed memory cell within the data store is faulty. Modern data stores work at ever higher operating clock frequencies, which means that the data transmission rates at which the test data are written to the memory cells and are subsequently read again are likewise becoming higher and higher. For this reason, the operating clock frequency of the external test unit, in which the test data which have been read are evaluated, likewise needs to be increased. In the example shown in FIG. 2, the clock frequency of the strobe signal corresponds to the data transmission rate of the test data which have been read. With the increasing data transmission rate of the semiconductor memory which is to be tested, it is therefore necessary for the test unit to be adapted accordingly in the test arrangement shown in FIG. 1. The ever shorter development cycles for developing modern data stores working at ever higher data transmission rates mean that the test units used heretofore can no longer be used for testing developed data stores in many cases. At very high data transmission rates for the data store which is to be tested, test units which have relatively complex circuitry and are thus cost intensive are therefore required.

[0004] It is therefore the object to provide a test method for testing a data store and a data store which allow a data store which has a very high operating clock frequency to be testing a conventional test unit which works at a lower clock frequency.

[0005] The invention achieves this object by means of a test method having the features specified in patent claim 1 and by means of a data store having the features specified in the patent claim 8.

[0006] The invention provides a test method for testing a data store, which involves a plurality of test data in a test data sequence which have been read serially from the data store being compared with reference test data in order to produce a compressed indicator data item, the indicator data item indicating whether at least one data error has occurred in the test data sequence.

[0007] In this case, the test data sequence preferably comprises a prescribed number of test data bits.

[0008] The test data sequence is preferably produced in a test data generator in an external test unit and is written to a memory cell array in the data store via a data line in a data bus,

[0009] with the test data sequence written subsequently being read from the memory cell array again via a data line in the data bus and being compressed by a compression circuit integrated in the data store on the basis of a compression factor to form an indicator data item,

[0010] the indicator data item being sent from the data store to the external test unit via an associated indicator line in an indicator data bus for the purpose of data evaluation.

[0011] The compression factor is preferably equal to the number of test data bits in a test data sequence.

[0012] The test data are preferably written to the memory cell array by the external test unit at a first data transmission rate and the indicator data are sent from the data store to the external test unit at a second data transmission rate, the ratio of the first data transmission rate to the second data transmission rate corresponding to the compression factor.

[0013] In one preferred embodiment of the inventive test method, the test data in a test data sequence which are read are written serially to a test data register in the compression circuit and are compared bit by bit with reference data, which are stored in a reference register in the compression circuit, by a logic comparison circuit in order to produce an indicator data item.

[0014] In this case, the reference data are written to the reference data register in the compression circuit by the external test unit in an initialization mode of operation.

[0015] The invention also provides a data store having an integrated test data compression circuit, where the data store has:

[0016] a memory cell array with a multiplicity of addressable memory cells,

[0017] read/write amplifiers for reading and writing data to the memory cells via an internal data bus in the data store,

[0018] and a test data compression circuit which compresses a plurality of test data sequences, which are each read serially from the memory cell array via a data line in the internal data bus in a test mode of operation, with stored reference test data sequences in order to produce a respective indicator data item which indicates whether at least one data error has occurred in the test data sequence which has been read.

[0019] In this case, the indicator data produced by the test data compression circuit are respectively transmitted from the data store to an external test unit via an indicator data line in an indicator data bus for the purpose of further data evaluation.

[0020] The inventive data store preferably contains a controllable switching unit which is connected between an external data bus for data interchange with the external test unit, the internal data bus for data interchange with the memory cell array, and the data compression circuit.

[0021] The controllable switching unit can preferably be changed over by the external test unit between a normal mode of operation and a test mode of operation via control lines, with the test data in a test data sequence which have been read via a data line in the internal data bus being written serially to a test data register in the test data compression circuit via a data line in an internal test data bus by the switching unit in the test mode of operation.

[0022] The external data bus, the internal data bus, the test data bus and the indicator data bus preferably have the same bus width.

[0023] In one particularly preferred embodiment of the inventive data store, the test data compression circuit contains a plurality of test data compression circuit modules which each have a test data register for storing a test data sequence read from the memory cell array via a data line in the test data bus,

[0024] a reference data register for storing a reference test data sequence, and

[0025] a logic comparison circuit which compares the stored test data sequence with the stored reference test data sequence in order to produce an indicator data item.

[0026] The logic comparison circuit is preferably an XOR logic circuit.

[0027] A preferred embodiment of the inventive test method and of the inventive data store is described below, to explain features which are fundamental to the invention, with reference to the appended figures, in which:

[0028]FIG. 1 shows a test arrangement based on the prior art;

[0029]FIG. 2 shows a flow diagram to explain the problem underlying the invention;

[0030]FIG. 3 shows a block diagram of a preferred embodiment of the inventive data store.

[0031]FIG. 4 shows a block diagram of a test data compression circuit contained in the inventive data store, with a plurality of test data compression circuit modules;

[0032]FIG. 5 shows a block diagram of a test data compression circuit module within the test data compression circuit shown in FIG. 4;

[0033]FIG. 6 shows a flow diagram for test signals when the inventive test method is proceeding.

[0034]FIG. 3 shows a block diagram of an inventive data store 1 which is connected to an external test unit 5 via an address bus 2, an external data bus 3 and an indicator data bus 4. The address bus 2 is connected to a column address decoder 6 and to a row address decoder 7 which decode the applied addresses and use lines 8, 9 to activate memory cells within the memory cell array 10. The memory cell array 10 is connected to an internal data bus 12 in the data store 1 via read/write amplifiers 11. Between the external data bus 3 and the internal data bus 12 there is a controllable switching unit 13 which can be actuated by the external test unit 5 via control lines 14. The switching device 13 has a test data compression circuit 16 connected to it via an internal test data bus 15.

[0035]FIG. 4 shows a block diagram of the test data compression circuit 16. The test data compression circuit 16 is connected to the switching unit 13 via data lines 15-i. The data bus width of the test data bus 15 between the switching unit 13 and the integrated test data compression circuit 16 corresponds to the data bus width of the external data bus 3 and of the internal data bus 12. The test data compression circuit contains D test data compression circuit modules 17-i which each produce an indicator data item which is sent to the external test unit 5 via an indicator data line 4-i for the purpose of further data evaluation.

[0036]FIG. 5 shows the circuit design of a test data compression circuit module 17 in detail. The test data compression circuit module 17 receives via a data line in the internal test data bus 15 a test data sequence, comprising a plurality of the test data bits, which has been read from the memory cell array 10. The received test data sequence is written serially to a clocked test data register 20 via a controllable internal switch 18 and a data line 19. The test data register contains a storage location 21 for each test data bit in the test data sequence. The number M of storage locations 21 corresponds to the number of test data bits within a test data sequence or a test data burst.

[0037] Each test data circuit module 17-i contains a clocked reference data register 22 for storing reference test data. The reference data register 22 is likewise connected to the controllable change-over switch 18, which is actuated by the external test unit 5 via a control line 24, via a line 23. The clocked reference data register 22 contains a plurality of storage locations 25 for reference data bits. The reference data register 22 stores M reference data bits which are written to the reference data register 22 by the external test unit 5 during an initialization phase. The storage locations 21 within the test data register 20 are connected via lines 26, and the storage locations 25 within the test data register 22 are connected via lines 27, to inputs on XOR gates 28 in a data comparison circuit 29 within the data compression circuit module 17.

[0038] The XOR gates 28 are connected via lines 30 to an XOR circuit 31 whose output sends an indicator data item to the external test unit 5 via an indicator line 4-i in the indicator data bus 4. The data comparison circuit 29 performs bit-by-bit data comparisons between the nominal data or reference data contained in the reference data register 22 and the test data in the test data sequence which has been read from the memory cell array 10. If a memory cell manufactured with a fault causes a test data bit in the test data sequence written to the test data register 20 to differ from the associated reference data bit stored in the reference data register 22, the output of the data comparison circuit 29 generates an indicator data item which indicates that at least one data error has occurred in the buffer-stored test data sequence.

[0039]FIG. 6 shows timing diagrams during a test procedure in line with the inventive test method for testing the data store 1 shown in FIG. 3. From the memory cell array 10 in the data store 1, a test data sequence, which comprises four test data bits in the example shown in FIG. 6, is read and is applied serially via a data line in the internal data bus 12 and in the internal test data bus 15 to a test data compression circuit module 17, where it is written serially to the latter's test data register 20. The data comparison circuit 29 generates an indicator data item or pass/fail signal which is sent to the external test unit via an indicator data line in the indicator data bus 4 for the purpose of further data evaluation. The indicator data item is evaluated by the external test unit 5 using the strobe signal.

[0040] As can be seen from a comparison between FIGS. 2 and 6, the external test unit 5 can work, during the inventive test method, at a clock frequency which is lower by the data compression factor K than in the case of the conventional test arrangement. Each test data compression circuit module 17 within the compression circuit 16 performs test data compression with a test data compression factor K which corresponds to the number of test data bits within a test data sequence. In the example shown in FIG. 6, the test data sequence or the test data burst is four data bits which are compressed by a test data compression circuit module 17 to form an indicator data item, i.e. the test data compression factor K is four in the example shown in FIG. 6.

[0041] The inventive test method can be used either to reduce the test time in line with the test data compression factor K or to reduce the maximum operating frequency required in the external test unit for data input and data output in line with the test data compression factor K. This means that it is possible to use existing conventional test units, whose circuitry is less complex, to test data stores which work at a very high operating clock frequency. 

1. A test method for testing a data store, which involves a plurality of test data in a test data sequence which have been read serially from the data store (1) being compared with reference test data in order to produce a compressed indicator data item, the indicator data item indicating whether at least one data error has occurred in the test data sequence.
 2. The test method as claimed in claim 1, wherein the test data sequence comprises a prescribed number (M) of test data bits.
 3. The test method as claimed in one of the preceding claims, wherein the test data sequence is produced in a test data generator in an external test unit (5) and is written to a memory cell array (10) in the data store (1) via a data line in a data bus (3, 12), with the test data sequence written subsequently being read from the memory cell array (10) in the data store (1) via a data line in the data bus (12) and being compressed by a test data compression circuit (16) integrated in the data store (1) on the basis of a compression factor (K) to form an indicator data item which is sent from the data store (1) to the external test unit (5) via an indicator data line in an indicator data bus (4) for the purpose of evaluation.
 4. The test method as claimed in one of the preceding claims, wherein the compression factor (K) is equal to the number (M) of test data bits in a test data sequence.
 5. The test method as claimed in one of the preceding claims, wherein the test data are written to the memory cell array (10) in the data store (1) by the external test unit (5) at a first data transmission rate via the data bus (3, 12) and the indicator data are sent from the data compression circuit (16) in the data store (1) to the external test unit (15) at a second data transmission rate, the ratio of the first data transmission rate to the second data transmission rate corresponding to the compression factor (K).
 6. The test method as claimed in one of the preceding claims, wherein the test data in a test data sequence which are read are written serially to a test data register (20) in the test data compression circuit (16) and are compared bit by bit with reference data, which are stored in a reference register (22) in the test data compression circuit (16), by a logic comparison circuit (29) in order to produce an indicator data item.
 7. The test method as claimed in one of the preceding claims, wherein the reference data are written to the reference register (22) by the external test unit (5) in an initialization mode of operation.
 8. A data store having an integrated test data compression circuit (16), where the data store (1) has: (a) a memory cell array (10) with a multiplicity of addressable memory cells; (b) read/write amplifiers (12) for reading and writing data to the memory cells via an internal data bus (12) in the data store (1); (c) and a test data compression circuit (16) which compresses test data sequences, which are each read serially from the memory cell array (10), with stored reference test data sequences in order to produce a respective indicator data item which indicates whether at least one data error has occurred in the test data sequence which has been read.
 9. The data store as claimed in claim 8, wherein the test data compression circuit (16) transmits the indicator data to an external test unit (5) via indicator data lines in an indicator data bus (4) for the purpose of evaluation.
 10. The data store as claimed in claim 8 or 9, wherein a controllable switching unit (13) is provided which is connected between an external data bus (3) for data interchange with the external test unit (5), the internal data bus (12) for data interchange with the memory cell array (10), and the test data compression circuit (16).
 11. The data store as claimed in one of the preceding claims, wherein the controllable switching unit (13) can be changed over by the external test unit (5) between a normal mode of operation and a test mode of operation via control line (14), with the test data in a test data sequence which have been read via a data line in the internal data bus (12) being written serially to a test data register (20) in the test data compression circuit (16) via a data line in an internal test data bus (15) by the switching unit (13) in the test mode of operation.
 12. The data store as claimed in one of the preceding claims, characterized in that the test data sequence has a prescribed number (M) of test data bits.
 13. The data store as claimed in one of the preceding claims, wherein the external data bus (3), the internal data bus (12), the test data bus (15) and the indicator data bus (4) have the same bus width.
 14. The data store as claimed in one the preceding claims, wherein the test data compression circuit (16) contains a plurality of test data compression circuit modules (17) which each have a test data register (20) for storing a test data sequence read from the memory cell array (10) via a data line in the test data bus (15), a reference data register (22) for storing a reference test data sequence, and a logic comparison circuit (29) which compares the stored test data sequence with the stored reference test data sequence in order to produce an indicator data item.
 15. The data store as claimed in one of the preceding claims, wherein the logic comparison circuit (29) is an XOR logic circuit. 